import { createRouter, createWebHashHistory } from "vue-router";



const router = createRouter({
  history:createWebHashHistory(),
  routes: [
    {
      path: "/",
      redirect: "/Login",
    },
    {
      name:"Login",
      path: "/Login",
      component: () => import("@/views/Login/login.vue"),
    },
    {
      name:"Admin",
      path: "/Admin",
      component: () => import("@/views/Admin/index.vue"),
    }
  ],
});


console.log("router.getRoutes()",router.getRoutes());



export default router;
